#include <poker.h>

const struct card_t poker_value[POKER_NUM] = {
    {GHOSTS, BIG_GHOST}, {GHOSTS, SMALL_GHOST},

    {HEARTS, THREE}, {HEARTS, FOUR}, {HEARTS, FIVE}, {HEARTS, SIX}, 
    {HEARTS, SEVEN}, {HEARTS, EIGHT}, {HEARTS, NINE}, {HEARTS, TEN},
    {HEARTS, JACK}, {HEARTS, QUEEN}, {HEARTS, KING}, {HEARTS, ACE},
    {HEARTS, TWO},

    {SPADES, THREE}, {SPADES, FOUR}, {SPADES, FIVE}, {SPADES, SIX}, 
    {SPADES, SEVEN}, {SPADES, EIGHT}, {SPADES, NINE}, {SPADES, TEN}, 
    {SPADES, JACK}, {SPADES, QUEEN}, {SPADES, KING}, {SPADES, ACE},
    {SPADES, TWO},

    {CLUBS, THREE}, {CLUBS, FOUR}, {CLUBS, FIVE}, {CLUBS, SIX}, 
    {CLUBS, SEVEN}, {CLUBS, EIGHT}, {CLUBS, NINE}, {CLUBS, TEN},
    {CLUBS, JACK}, {CLUBS, QUEEN}, {CLUBS, KING}, {CLUBS, ACE}, 
    {CLUBS, TWO},

    {DIAMONDS, THREE}, {DIAMONDS, FOUR}, {DIAMONDS, FIVE}, {DIAMONDS, SIX},
    {DIAMONDS, SEVEN}, {DIAMONDS, EIGHT}, {DIAMONDS, NINE}, {DIAMONDS, TEN},
    {DIAMONDS, JACK}, {DIAMONDS, QUEEN}, {DIAMONDS, KING}, {DIAMONDS, ACE}, 
    {DIAMONDS, TWO}
};

const char *poker_name[ASSISTANT][TWO + 1] = {
    {"大王", "小王"},

    {"黑桃3", "黑桃4", "黑桃5", "黑桃6", "黑桃7", "黑桃8", "黑桃9", "黑桃10",
     "黑桃J", "黑桃Q", "黑桃K", "黑桃A", "黑桃2"},

    {"红桃3", "红桃4", "红桃5", "红桃6", "红桃7", "红桃8", "红桃9", "红桃10",
     "红桃J", "红桃Q", "红桃K", "红桃A", "红桃2"},

    {"梅花3", "梅花4", "梅花5", "梅花6", "梅花7", "梅花8", "梅花9", "梅花10", 
     "梅花J", "梅花Q", "梅花K", "梅花A", "梅花2"}, 

    {"方块3", "方块4", "方块5", "方块6", "方块7", "方块8", "方块9", "方块10", 
     "方块J", "方块Q", "方块K", "方块A", "方块2"}
};
